package gtv.sic.control;


import gtv.sic.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;


public class MenuEventoActivity extends Activity {
	
	private Button buscar;
	private Button avaliar;
	private Button comentar;
	private Button voltar;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.menu_evento);
        
        buscar = (Button) findViewById(R.id.buttonBuscar);
        avaliar = (Button) findViewById(R.id.buttonAvaliar);
        comentar = (Button) findViewById(R.id.buttonComentar);
        voltar = (Button) findViewById(R.id.buttonVoltar);
        
        buscar.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				Intent intent = new Intent(MenuEventoActivity.this, BuscarEventoActivity.class);
				
				startActivity(intent);
			}
		});
        
        avaliar.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				Intent intent = new Intent(MenuEventoActivity.this, AvaliarEventoActivity.class);
				
				startActivity(intent);
			}
		});
        
        comentar.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				Intent intent = new Intent(MenuEventoActivity.this, ComentarEventoActivity.class);
				
				startActivity(intent);
			}
		});
        
        voltar.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				Intent intent = new Intent(MenuEventoActivity.this, MenuPrincipalActivity.class);
				
				startActivity(intent);
			}
		});
        
    }
}